using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Xml.Linq;

namespace Prologis.ShifterNT.Testapp
{


    public class ApplikationDataSource : NestedDataSourceSkeleton
    {


        /// <summary>
        /// 
        /// </summary>
        public ApplikationDataSource()
        {
            this.ID = "Appli";
        }


        /// <summary>
        /// 
        /// </summary>
        /// <param name="name"></param>
        /// <param name="fields"></param>
        /// <returns></returns>
        public override bool SetValue(string name, FieldList fields)
        {

            if (name == "FieldAppli")
            {
                fields[name].Value = "FromAppli";
            }
            return true;
        }


        public static string GetValue(FieldList fields, string key, string default_)
        {
            return "result";
        }

    }
}
